﻿using Quickly.Certs.Core;
using System.ComponentModel.DataAnnotations;

namespace Quickly.Certs.EntityFrameworkCore.Data
{
    public class CertificateFile : CertificateData
    {
        public CertificateFile() : base()
        {
            Id = 0;
            Created = DateTimeOffset.UtcNow;
            LastModified = DateTimeOffset.UtcNow;
            Deleted = false;
        }

        [Key]
        public long Id { get; set; }

        public DateTimeOffset Created { get; set; }

        public DateTimeOffset LastModified { get; set; }

        public bool Deleted { get; set; }
    }
}
